object practice3 {
  def main (args: Array[String]):Unit = {
    def test1(x: Double) = {
      (y:Double) => x * x * y
    }
    val res = test1(2.0)(3.0)
    println("res="+res)
  }

}
